package com.liangdemo.web.tree;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liangdemo.web.mapper.MenuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Name LiangErLe
 * @date 2022/6/21 13:28
 */
@Service
public class MenuServerImpl extends ServiceImpl<MenuMapper, Menu> {
    @Autowired
    private MenuMapper menuMapper;

    public List<Menu> selectByAll() {
        return menuMapper.selectByAll();
    }
}
